<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改焊接数据</title>
<link rel="Stylesheet" href="../css/main.css" type="text/css" />
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../home/js/navbar.js"></script>
<script type="text/javascript" src="../js/Util.js"></script>
<script type="text/javascript" src="js/checkproduct.js"></script>
<script type="text/javascript" src="js/checkdata.js"></script>
<!--[if lte IE 6]>
<style type="text/css">
.addproduct select{margin-left:30px;}
</style>
<![endif]-->
</head>
<body>
<div class="pagecontent">
	<div class="pagehead">
		{#include_php file='../home/head.php' once=true#}
	</div>
	<div class="pagebody">
		<div class="bodyleft">
			{#include_php file='../home/navbar.php' once=true#}
		</div>		
		<div class="bodyright">
			<h2>修改焊接数据</h2>
			<div class="sepline"></div>
			<div>
				<form class="_product_form" action="../home/domodifyproduct.php" method="post">
					<ul class="addproduct">
                   		<li>
							<div class="lefttxt">车辆类型:</div>
							<div class="righttxt">
								<select name="ptype" id="ptype">
									<!--{foreach from=$types item=type}-->
                                    <!--{if $type.tid eq $product.tid}-->
									<option selected="selected" value="{#$type.tid#}">{#$type.tname#}</option>
                                    <!--{else}-->
                                    <option value="{#$type.tid#}">{#$type.tname#}</option>
                                    <!--{/if}-->
									<!--{/foreach}-->
								</select>
							</div>
							<div style="clear:both;"></div>
						</li>
                        <li>
							<div class="lefttxt">车辆容量（只填数字，不用单位）:</div>
							<div class="righttxt"><input value="{#$product.cxrl#}" type="text" name="cxrl" id="cxrl"/></div>
							<div style="clear:both;"></div>
						</li>
						<li>
							<div class="lefttxt">工件材料:</div>
							<div class="righttxt"><input value="{#$product.gjcl#}" type="text" name="gjcl" id="gjcl"/></div>
							<div style="clear:both;"></div>
						</li>
						<li>
							<div class="lefttxt">焊缝编号（只填数字）:</div>
							<div class="righttxt"><input value="{#$product.hfbh#}" type="text" name="hfbh" id="hfbh"/></div>
							<div style="clear:both;"></div>
						</li>
						<li>
							<div class="lefttxt">送丝速度（1.0~18.3）:</div>
							<div class="righttxt"><input value="{#$product.sssd#}" type="text" name="sssd" id="sssd"/></div>
							<div style="clear:both;"></div>
						</li>
						<li>
							<div class="lefttxt">弧长修正（-30~30）:</div>
							<div class="righttxt"><input value="{#$product.dhcd#}" type="text" name="dhcd" id="dhcd"/></div>
							<div style="clear:both;"></div>
						</li>
						<li>
							<div class="lefttxt">推力修正（-5~5）:</div>
							<div class="righttxt"><input value="{#$product.tlxz#}" type="text" name="tlxz" id="tlxz"/></div>
							<div style="clear:both;"></div>
						</li>
						<li>
							<div class="lefttxt">回烧修正（-200~200）:</div>
							<div class="righttxt"><input value="{#$product.hsxz#}" type="text" name="hsxz" id="hsxz"/></div>
							<div style="clear:both;"></div>
						</li>
						<li>
							<div class="lefttxt">操作模式:</div>
							<div class="righttxt">
								<select name="czms" id="czms">
									<!--{foreach from=$czmss item=i}-->
									<!--{if $i.val eq $product.czms}-->
									<option selected="selected" value="{#$i.val#}">{#$i.text#}</option>
									<!--{else}-->
									<option value="{#$i.val#}">{#$i.text#}</option>
									<!--{/if}-->
									<!--{/foreach}-->
								</select>
							</div>
							<div style="clear:both;"></div>
						</li>
						<li>
							<div class="lefttxt">焊丝材料:</div>
							<div class="righttxt">
								<select name="hscl" id="hscl">
									<!--{foreach from=$hscls item=i}-->
									<!--{if $i.val eq $product.hscl}-->
									<option selected="selected" value="{#$i.val#}">{#$i.text#}</option>
									<!--{else}-->
									<option value="{#$i.val#}">{#$i.text#}</option>
									<!--{/if}-->
									<!--{/foreach}-->
								</select>
							</div>
							<div style="clear:both;"></div>
						</li>
						<li>
							<div class="lefttxt">焊丝直径:</div>
							<div class="righttxt">
								<select name="hszj" id="hszj">
									<!--{foreach from=$hszjs item=i}-->
									<!--{if $i.val eq $product.hszj}-->
									<option selected="selected" value="{#$i.val#}">{#$i.text#}</option>
									<!--{else}-->
									<option value="{#$i.val#}">{#$i.text#}</option>
									<!--{/if}-->
									<!--{/foreach}-->
								</select>
							</div>
							<div style="clear:both;"></div>
						</li>
						<li>
							<div class="lefttxt">保护气体:</div>
							<div class="righttxt">
								<select name="bhqt" id="bhqt">
									<!--{foreach from=$bhqts item=i}-->
									<!--{if $i.val eq $product.bhqt}-->
									<option selected="selected" value="{#$i.val#}">{#$i.text#}</option>
									<!--{else}-->
									<option value="{#$i.val#}">{#$i.text#}</option>
									<!--{/if}-->
									<!--{/foreach}-->
								</select>
							</div>
							<div style="clear:both;"></div>
						</li>
						<li style="width:400px;" class="sepline2">
                        	<input type="hidden" name="pid" id="pid" value="{#$product.pid#}" />
                        </li>
						<li><input style="width:90px; margin-left:100px;" type="submit" id="dataaddbut" class="bgbut" value="修改焊接数据" /></li>
					</ul>
				</form>
			</div>
		</div>		
	</div>	
	<div class="pagetail">
	{#include_php file='../home/footer.php' once=true#}
	</div>
</div>
</body>
</html>